OPC Studio User's Guide and Reference
EasyUADataChangeArguments<TValue> Constructor(EasyUADataChangeNotificationEventHandler<TValue>,UAMonitoredItemArguments)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Generic Namespace > EasyUADataChangeArguments<TValue> Class > EasyUADataChangeArguments<TValue> Constructor : EasyUADataChangeArguments<TValue> Constructor(EasyUADataChangeNotificationEventHandler<TValue>,UAMonitoredItemArguments)
A callback method to be invoked for each significant monitored item change.

The value of this parameter can be null (Nothing in Visual Basic).

Monitored item arguments object to be copied from.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the class specifying the callback, and monitored item arguments.
Syntax
'Declaration
 
Public Function New( _
   ByVal callback As OpcLabs.EasyOpc.UA.Generic.EasyUADataChangeNotificationEventHandler(Of TValue), _
   ByVal monitoredItemArguments As UAMonitoredItemArguments _
)
'Usage
 
Dim callback As OpcLabs.EasyOpc.UA.Generic.EasyUADataChangeNotificationEventHandler(Of TValue)
Dim monitoredItemArguments As UAMonitoredItemArguments
 
Dim instance As New EasyUADataChangeArguments(Of TValue)(callback, monitoredItemArguments)
public EasyUADataChangeArguments<TValue>( 
   OpcLabs.EasyOpc.UA.Generic.EasyUADataChangeNotificationEventHandler<TValue> callback,
   UAMonitoredItemArguments monitoredItemArguments
)
public:
EasyUADataChangeArguments<TValue>( 
   OpcLabs.EasyOpc.UA.Generic.EasyUADataChangeNotificationEventHandler<TValue^>^ callback,
   UAMonitoredItemArguments^ monitoredItemArguments
)

Parameters

callback
A callback method to be invoked for each significant monitored item change.

The value of this parameter can be null (Nothing in Visual Basic).

monitoredItemArguments
Monitored item arguments object to be copied from.

The value of this parameter cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also